package forum.service.rest.api;

import com.foreveross.springboot.dubbo.utils.Payload;
import forum.domain.Resources;

import java.util.Map;

/**
 * Created by Administrator on 2017/4/1.
 */
public interface ResourcesRestService {

    Payload getResourcesList(int page, int size, String sort, String operation, String key, String value,String token);

    Payload getResourcesById( Integer id);

    Payload createResources(String token,Resources resources);

    Payload updateResourcesById(String token,Resources user);

    Payload deleteResourcesByIds(String token,Map<String, String[]> map);

}
